mutate
{dplyr}
Modify/create a column in a data frame
slice
{dplyr}
Subset rows using their positions
labs
{GGPLOT2}
Customise labels in GGPLOT2
str
{utils}
Get the structure of an R object
ifelse
{base}
Return a or b depending on the value of test
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
boxplot
{graphics}
Plot a simple box plot
ggplot
{GGPLOT2}
Create a ggplot graph
geom_histogram
{GGPLOT2}
Generates a histogram
min
{base}
Get minimum of a vector
seq
{base}
Create a sequence
sum
{base}
Get sum of numeric values or a vector
mean
{base}
Get mean of a vector
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
summary
{base}
Obtain summary statistics or detailed regression output
var
{stats}
Calculate variance
read_excel
{readxl}
Read an Excel file
setwd
{base}
Set Working Directory
names
{base}
Retrieve names of a list/vector
select
{dplyr}
Select columns from a tibble/data frame
median
{stats}
Get median of a vector
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
filter
{dplyr}
Filter out rows of a data frame according to logical vector
c
{base}
Combine values/vectors into a vector
hist
{graphics}
Plot a simple histogram
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
levels
{base}
Get levels of a factor
range
{base}
Return range of values
desc
{dplyr}
Arrange in descending order
ungroup
{dplyr}
Resolve grouping created with “group_by”
recode
{dplyr}
Recode a variable
cut
{base}
Convert Numeric to Factor
summarise
{dplyr}
collapse the dataset to a summary statistic. Usually used with group_by()
sd
{stats}
Get standard deviation of a vector
library
{base}
Load an R package
factor
{base}
Create a factor
head
{utils}
Show first 5 rows of a data frame
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
max
{base}
Get maximum of a vector
The end!